package com.bjpn.util;

public class MessageUtil {
    public static final int LOGIN_SUCCESS_CODE = 0;
    public static final String LOGIN_SUCCESS_MESSAGE = "登录成功";
    public static final int LOGIN_ERROR_CODE = 1;
    public static final String LOGIN_ERROR_MESSAGE = "账号或密码错误";
    public static final int LOCK_ERROR_CODE = 2;
    public static final String LOCK_ERROR_MESSAGE = "账户已被锁定";
    public static final int TIME_ERROR_CODE = 3;
    public static final String TIME_ERROR_MESSAGE = "账户已经过期";
    public static final int UPDATE_SUCCESS_CODE = 4;
    public static final String UPDATE_SUCCESS_MESSAGE = "修改成功";
    public static final int UPDATE_ERROR_CODE = 5;
    public static final String UPDATE_ERROR_MESSAGE = "修改失败";
    public static final int SAVE_SUCCESS_CODE = 6;
    public static final String SAVE_SUCCESS_MESSAGE = "创建成功";
    public static final int SAVE_ERROR_CODE = 7;
    public static final String SAVE_ERROR_MESSAGE = "创建失败";
    public static final int DELETE_SUCCESS_CODE = 8;
    public static final String DELETE_SUCCESS_MESSAGE = "删除成功";
    public static final int DELETE_ERROR_CODE = 9;
    public static final String DELETE_ERROR_MESSAGE = "删除失败";
}
